package com.mango.platform.admin.dao;

import com.mango.platform.admin.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysUserMapper {

    int deleteByPrimaryKey(Long id);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    SysUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);

    int insertList(@Param("pojos") List<SysUser> pojo);

    /**
     * @Description 查找所有用户
     **/
    List<SysUser> findAll();
}